package com.xx.eshop.dao;

import java.util.Map;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.github.miemiedev.mybatis.paginator.domain.PageList;
import com.xx.eshop.entity.Product;

public interface ProductDao {
	

	void save(Product product);

	void update(Product product);
	
	void delete(int id);

	Product findById(int id);

	PageList<Product> findByPage(Map<String,Object> conditions, PageBounds pb);

}
